public class Tese13 {
    public static void main(String[] args) {
        Myarraylist2 myarrayList = new Myarraylist2();
        myarrayList.add(1);
        myarrayList.add(2);
        myarrayList.add(3);

        myarrayList.remove(3);
        myarrayList.display();
    }

}
